package com.Cychat.commons.feign;

import com.Cychat.commons.entity.ResultMessage;
import com.Cychat.commons.entity.vo.DoctorVo;
import com.Cychat.commons.entity.pojo.Hospital;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * Auther: 谢宝辉  <br/>
 * Date: 2025/11/4:9:43  <br/>
 * Description: 医生服务Feign接口
 */
@FeignClient(name = "Cychat-Java-doctor", path = "/api/doctor")
public interface DoctorFeignService {
    @GetMapping("/getAllDoctors")
    ResultMessage<List<DoctorVo>> getAllDoctors();

    @GetMapping("/hospital/getAllHospital")
    ResultMessage<List<Hospital>> getAllHospital();
}
